Subgraph Isomorphism in Polynomial Time
نویسنده
چکیده
In this paper, we propose a new approach to the problem of subgraph isomorphism detection. The new method is designed for systems which di erentiate between graphs that are a priori known, so-called model graphs, and unknown graphs, so-called input graphs. The problem to be solved is to nd a subgraph isomorphism from an input graph, which is given on-line, to any of the model graphs. The new method is based on an intensive preprocessing step in which the model graphs are used to create a decision tree. At run time, the input graph is then classi ed by the decision tree and all model graphs for which there exists a subgraph isomorphism from the input graph are detected. If we neglect the time needed for preprocessing, the computational complexity of the new subgraph isomorphism algorithm is only quadratic in the number of input graph vertices. Furthermore, it is independent of the number of model graphs and the number of edges in any of the graphs. However, the decision tree that is constructed in the preprocessing step may grow exponentially with the number of vertices of the model graphs. Therefore, we present several pruning techniques which aim at reducing the size of the decision tree. A computational complexity analysis of the new method is given. Also, the advantages and disadvantages of the new algorithm are studied in a number of practical experiments with randomly generated graphs. Finally, the application of the algorithm in a graphic symbol recognition system is brie y discussed.
منابع مشابه
On Subgraph Isomorphism
Article explicitly expresses Subgraph Isomorphism by a polynomial size asymmetric linear system.
متن کاملInduced Subgraph Isomorphism on Interval and Proper Interval Graphs
The Induced Subgraph Isomorphism problem on two input graphs G and H is to decide whether G has an induced subgraph isomorphic to H. Already for the restricted case where H is a complete graph the problem is NP-complete, as it is then equivalent to the Clique problem. In a recent paper [10] Marx and Schlotter show that Induced Subgraph Isomorphism is NP-complete when G and H are restricted to b...
متن کاملMining Patterns in Networks using Homomorphism
In recent years many algorithms have been developed for finding patterns in graphs and networks. A disadvantage of these algorithms is that they use subgraph isomorphism to determine the support of a graph pattern; subgraph isomorphism is a well-known NP complete problem. In this paper, we propose an alternative approach which mines tree patterns in networks by using subgraph homomorphism. The ...
متن کاملInduced Subtrees in Interval Graphs
The Induced Subtree Isomorphism problem takes as input a graph G and a tree T , and the task is to decide whether G has an induced subgraph that is isomorphic to T . This problem is known to be NP-complete on bipartite graphs, but it can be solved in polynomial time when G is a forest. We show that Induced Subtree Isomorphism can be solved in polynomial time when G is an interval graph. In cont...
متن کاملFaster Algorithms for Finding and Counting Subgraphs
Given an input graph G and an integer k, the k-PATH problem asks whether there exists a path of length k in G. The counting version of the problem, #k-PATH asks to find the number of paths of length k in G. Recently, there has been a lot of work on finding and counting k-sized paths in an input graph. The current fastest (randomized) algorithm for k-PATH has been given by Williams and it runs i...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995